package com.buka.server.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;


/**
* 
* @TableName ProductDetails
*/

@Data
@Table(name = "ProductDetails")
public class ProductDetails implements Serializable {

    /**
    * 商品详情id
    */
    @Id
    private Long id;
    /**
    * 规格id
    */
    @Column(name = "spec_id")
    private Long specId;
    /**
    * 编号
    */
    @Column(name = "num")
    private Integer num;
    /**
    * 重量
    */
    @Column(name = "weight")
    private BigDecimal weight;
    /**
    * 价格
    */
    @Column(name = "price")
    private BigDecimal price;
    /**
    * 库存
    */
    @Column(name = "inventory")
    private Integer inventory;
    /**
    * 图片
    */
    @Column(name = "img")
    private String img;
    /**
    * 商品id
    */
    @Column(name = "product_id")
    private Long productId;
    /**
    * 
    */
    @Column(name = "is_delete")
    private Integer isDelete;
    /**
    * 
    */
    @Column(name = "create_time")
    private Date createTime;
    /**
    * 
    */
    @Column(name = "update_time")
    private Date updateTime;



}
